import java.awt.Color;
import java.io.Serializable;
import java.util.ArrayList;


public class Team implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String name;
	private int number;
	private Color color;
	private ArrayList<Donkey> DonkeyList;
	private ArrayList<Pipe> PipeList;
	private int score; //TODO ask about scoring
	private boolean initial;
	
	public Team(String name, int number, Color color,boolean initial)
	{
		this.name = name;
		this.number = number;
		DonkeyList = new ArrayList<Donkey>();
		PipeList = new ArrayList<Pipe>();
		score = 0;
		this.color = color;
		this.initial = initial;
	}

	public boolean isInitial() {
		return initial;
	}

	public void setInitial(boolean initial) {
		this.initial = initial;
	}

	public int getNumber() {
		return number;
	}

	public void setNumber(int number) {
		this.number = number;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Color getColor() {
		return color;
	}

	public void setColor(Color color) {
		this.color = color;
	}

	public ArrayList<Donkey> getDonkeyList() {
		return DonkeyList;
	}

	public void setDonkeyList(ArrayList<Donkey> donkeyList) {
		DonkeyList = donkeyList;
	}
	public ArrayList<Pipe> getPipeList() {
		return PipeList;
	}

	public void setPipeList(ArrayList<Pipe> pipeList) {
		PipeList = pipeList;
	}

	public int getScore() {
		return score;
	}

	public void setScore(int score) {
		this.score = score;
	}
	
}
